package com.itheima.app;

import com.itheima.dao.UserDao;
import com.itheima.service.ClazzService;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class Test_exe06 {
    public static void main(String[] args) {
        ClassPathXmlApplicationContext app = new ClassPathXmlApplicationContext("exe06-application-clazz.xml");
        ClazzService clazzService = (ClazzService) app.getBean("clazzService");
        clazzService.save();
    }
}
